package cn.kgc.javaweb.service;

import cn.kgc.javaweb.dto.PageDTO;
import cn.kgc.javaweb.entity.SysUser;
import cn.kgc.javaweb.utils.LayUtil;

import java.util.Map;

/**
 * @author: mosin
 * @version: v1.0  2022/6/27
 */
public interface UserService {

   Boolean addUser(SysUser sysUser);

   Map<String, Object> login(SysUser sysUser);

    LayUtil selectAll(PageDTO pageDTO);

    Map<String, Object> updateUser(SysUser sysUser);

    Map<String, Object> addUserInfo(SysUser sysUser);

    Map<String, Object> deleteByIds(String ids);

    Map<String, Object> updateState(Integer id, Integer state);

    Map<String, Object> replacepwd(Integer id, String pwd);
}
